#!/bin/bash -e

# include required packages
source ./paths.sh

# present the header
echo	"


=====================================================================

           Utility to download all source packages
 
=====================================================================



"

	echo	"Retrieving source packages using wget:"
	echo	"- non-verbose mode is on"
	echo	"- for each file there will be 6 attempts"
	echo	"- we will wait 10 seconds after each failed attempt"
	echo	"- if a package is already present, it will be"
	echo	"  redownloaded only if it's timestamp indicates "
	echo	"  that it's newer"
	echo	" - the list of files to use: ./wget-list"
	wget -nv --tries=6 --waitretry=10 -N -i "./wget-list" -P $PATH_PKGCACHE


# present the footer
echo	"


=====================================================================

           Utility to download all source packages
 
=====================================================================



"
